
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

CREATE PROCEDURE PBDsk_GetUserNameFromGigyaMapper
	@pGigyaUID		 varchar(256)
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	SELECT CMSEmail From PBDsk_GigyaUserMapper
	WHERE GigyaUID = @pGigyaUID
	And IsActive = 1
END
GO
